﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Web.Http;
using JX.Enrollment.Entity;
using JX.Enrollment.Web.Implementation;
using JX.Enrollment.Web.Api.Controllers;
using JX.Enrollment.Web.ViewModel;

namespace StudentsApp.Controllers
{
    public class StudentsController : ApiController
    {
        StudentDA studentDA = new StudentDA();

       IEnumerable<Student> Students = StudentVM.GetStudentInfo();
            

        // GET api/students
        public IEnumerable<Student> GetAllStudents()
        {
            return Students;
        }


    }
}